package com.intelligentcar.springboot.service.serverImpl;

import com.intelligentcar.springboot.bean.Linelist;
import com.intelligentcar.springboot.mapper.LinlistMapper;
import com.intelligentcar.springboot.service.LinelistServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class LinelistServermpl implements LinelistServer{
    @Autowired
    private LinlistMapper linlistMapper;

    // 查询线路表中的线路
    @Override
    public List<Linelist> number() {
        return linlistMapper.number();
    }
}
